
class EvaluateDataList {
  int? code;
  String? msg;
  List<EvaluateData>? data;

  EvaluateDataList({this.code, this.msg, this.data});

  EvaluateDataList.fromJson(Map<String, dynamic> json) {
    if(json["code"] is int) {
      code = json["code"];
    }
    if(json["msg"] is String) {
      msg = json["msg"];
    }
    if(json["data"] is List) {
      data = json["data"] == null ? null : (json["data"] as List).map((e) => EvaluateData.fromJson(e)).toList();
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["code"] = code;
    _data["msg"] = msg;
    if(data != null) {
      _data["data"] = data?.map((e) => e.toJson()).toList();
    }
    return _data;
  }
}

class EvaluateData {
  int? id;
  String? nickName;
  String? appraiseTime;
  String? appraiser;
  int? appraiseStar;
  int? serviceStar;
  String? appraiseType;
  int? professionalStars;
  String? content;
  int? checkId;
  String? doctorNo;
  String? doctorNick;
  dynamic teamNo;
  String? reply;

  EvaluateData({this.id, this.nickName, this.appraiseTime, this.appraiser, this.appraiseStar, this.serviceStar, this.appraiseType, this.professionalStars, this.content, this.checkId, this.doctorNo, this.doctorNick, this.teamNo, this.reply});

  EvaluateData.fromJson(Map<String, dynamic> json) {
    if(json["id"] is int) {
      id = json["id"];
    }
    if(json["nickName"] is String) {
      nickName = json["nickName"];
    }
    if(json["appraiseTime"] is String) {
      appraiseTime = json["appraiseTime"];
    }
    if(json["appraiser"] is String) {
      appraiser = json["appraiser"];
    }
    if(json["appraiseStar"] is int) {
      appraiseStar = json["appraiseStar"];
    }
    if(json["serviceStar"] is int) {
      serviceStar = json["serviceStar"];
    }
    if(json["appraiseType"] is String) {
      appraiseType = json["appraiseType"];
    }
    if(json["professionalStars"] is int) {
      professionalStars = json["professionalStars"];
    }
    if(json["content"] is String) {
      content = json["content"];
    }
    if(json["checkId"] is int) {
      checkId = json["checkId"];
    }
    if(json["doctorNo"] is String) {
      doctorNo = json["doctorNo"];
    }
    if(json["doctorNick"] is String) {
      doctorNick = json["doctorNick"];
    }
    teamNo = json["teamNo"];
    if(json["reply"] is String) {
      reply = json["reply"];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["id"] = id;
    _data["nickName"] = nickName;
    _data["appraiseTime"] = appraiseTime;
    _data["appraiser"] = appraiser;
    _data["appraiseStar"] = appraiseStar;
    _data["serviceStar"] = serviceStar;
    _data["appraiseType"] = appraiseType;
    _data["professionalStars"] = professionalStars;
    _data["content"] = content;
    _data["checkId"] = checkId;
    _data["doctorNo"] = doctorNo;
    _data["doctorNick"] = doctorNick;
    _data["teamNo"] = teamNo;
    _data["reply"] = reply;
    return _data;
  }
}